home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Shareware Gold
/
Windows Shareware Gold Volume 3 Number 1 (Sherburne Knowledge Systems) (1991).iso
/
utils
/
f1476
/
resgauge.txt
< prev
Wrap
Text File
|
1991-06-04
|
1KB
|
27 lines
Resource Gauge v1.0
Richard Franklin Albury
Davie, FL
4 June 1991
CIS: 76477,534
I've seen a few inquiries in the Windows development forums lately about how
to calculate free system resources. Since I've figured out how to do this,
I whipped up Resource Gauge, which not only shows how this is done but which
should also prove to be a useful tool.
A few notes regarding the program:
o The display consists of an icon-sized "gas gauge", with used resources
in blue and free resources in white and also in text in the center of
the display. I wrote this on a VGA system, so I don't know - or much
care! :) - what it looks like on a Hercules or CGA display.
o The make file builds the program to run only in protected mode. I see
no reason to use real mode, and in my opinion, nobody in their right
mind runs real mode.
o I use Mike Geary's FixDS, so you won't see MakeProcInstance() or
EXPORT in the source. If you don't use this little gem, I highly
recommend you download it and read the documentation. Thanks, Mike!
o You can only run one instance of this program, and it always stays
iconized. It doesn't make much sense to do things any other way.
o Feel free to use anything you find of use in the code. I'm not
possessive!